<SCRIPT language="javascript">
	function clearForm()
	{
	var okButton = "<%=com.epro.standard.frontend.util.StringUtil.encode2Thai(com.epro.standard.frontend.datasetup.MessageManager.getString("okFormSubmitMessage"))%>";
	var cancelButton = "<%=com.epro.standard.frontend.util.StringUtil.encode2Thai(com.epro.standard.frontend.datasetup.MessageManager.getString("cancelFormSubmitMessage"))%>";
	var clearMessage = "<%=com.epro.standard.frontend.util.StringUtil.encode2Thai(com.epro.standard.frontend.datasetup.MessageManager.getString("clearFormSubmitMessage"))%>";
	var backMessage = "<%=com.epro.standard.frontend.util.StringUtil.encode2Thai(com.epro.standard.frontend.datasetup.MessageManager.getString("backFormSubmitMessage"))%>";
				if(showOConfirmDialog(clearMessage, clearMessage+" ?", okButton, cancelButton) == 1)
				{		
					frm.reset();
				}
	}	
</SCRIPT> 